.chart_thumbnail {
  position: fixed;
  right: 40px;
  bottom: 25px;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 31px;
  box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.16);
  cursor: pointer;
  text-decoration: none;
  background-color: #07c160;
  z-index: 9999;
  overflow: hidden;
}
.msg_num {
  font-size: 18px;
  color: #FFF;
}
.msg_icon {
  width: 38px;
  margin-top: 10px;
}
.chart_body {
  position: fixed;
  right: 0px;
  bottom: 0;
  width: 550px;
  height: fit-content;
  background-color: #ffffff;
  font-size: 12px;
  margin: 0;
  padding: 0;
  border: 1px solid #c3c3c3;
  border-radius: 6px;
  overflow: hidden;
  z-index: 9999;
}
.chart_body .chart_header {
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #bf0b21;
  padding: 0 6px;
}
.chart_body .chart_header .header_left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.chart_body .chart_header .header_left img {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 50%;
}
.chart_body .chart_header .header_left .header_title {
  font-size: 14px;
  color: #FFF;
  line-height: 36px;
  margin-top: 0;
}
.chart_body .chart_header .header_right .tool_body {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  padding: 2px;
  cursor: pointer;
  overflow: hidden;
}
.chart_body .chart_header .header_right .tool_body > span:after {
  content: "";
  display: block;
  width: 90%;
  height: 3px;
  background: #bf0b21;
  margin-top: 50%;
  transform: translate(5%, -50%);
}
.chart_body .chart_content {
  width: 100%;
  height: 385px;
  padding: 10px;
  overflow-y: auto;
}
.chart_body .chart_content .chart_more {
  width: 100%;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  line-height: 30px;
}
.chart_body .chart_content .robot_msg,
.chart_body .chart_content .user_msg {
  width: 100%;
  display: flex;
  margin-top: 18px;
}
.chart_body .chart_content .robot_msg img,
.chart_body .chart_content .user_msg img {
  width: 24px;
  height: 24px;
}
.chart_body .chart_content .robot_msg .msg_content,
.chart_body .chart_content .user_msg .msg_content {
  max-width: 436px;
  margin-left: 10px;
  margin-right: 15px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 8px 12px;
  word-break: break-all;
  word-wrap: break-word;
}
.chart_body .chart_content .robot_msg .msg_content .msg_time,
.chart_body .chart_content .user_msg .msg_content .msg_time {
  font-size: 12px;
  line-height: 20px;
  margin-top: -2px;
}
.chart_body .chart_content .robot_msg {
  position: relative;
  justify-content: flex-start;
}
.chart_body .chart_content .robot_msg .msg_content::before {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  top: 9px;
  left: 25px;
  border-top: 5px solid transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid #d8d8d8;
  border-bottom: 5px solid transparent;
}
.chart_body .chart_content .user_msg {
  position: relative;
  justify-content: flex-end;
}
.chart_body .chart_content .user_msg .msg_content {
  color: #fff;
  margin-right: 10px;
  background: #bf0b21;
}
.chart_body .chart_content .user_msg .msg_content::after {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  top: 9px;
  right: 31px;
  border-top: 5px solid transparent;
  border-left: 5px solid #bf0b21;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.chart_body .chart_content .user_msg img {
  width: 30px;
  height: 30px;
}
.chart_body .chart_footer :global(.ant-input) {
  resize: none !important;
  border: none;
}
.chart_body .chart_footer :global(.ant-input):focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0);
}
.chart_body .chart_footer .footer_title {
  height: 28px;
  background-color: #f1f1f1;
  border-bottom: 1px solid #e6e6e6;
  border-top: 1px solid #e6e6e6;
  width: 100%;
}
.chart_body .chart_footer .send_body {
  text-align: right;
  margin: 6px;
}
.hide {
  display: none;
}
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
